#include "utility.h"

int2 ShRp::Mouse::Pos;
int2 ShRp::Mouse::LastPos;
bool ShRp::Mouse::m_Buttons[MouseButton::Max] = {false};
bool ShRp::Keyboard::m_Keys[Key::Max] = {false};

bool ShRp::FileExists( const char* _FileName )
{
	FILE* file;
	fopen_s(&file, _FileName, "rb" );
	if(file == NULL)
	{
		Log("Could not open file %s.\n", _FileName);
		return false;
	}
	else
	{
		fclose(file);
		return true;
	}
}